import java.util.Arrays;

public class ArrayFill {
    public static void main(String[] args) {
        int[] arr=new int[10];
        Arrays.fill(arr,1,3,100);
        System.out.println(Arrays.toString(arr));

    }
}
